$OpenBSD: patch-numpy_distutils_command_build_src_py,v 1.2 2014/09/17 00:46:13 daniel Exp $

fix build of other packages (e.g. py-scipy) in some cases (e.g. when
WRKOBJDIR has a trailing slash)

--- numpy/distutils/command/build_src.py.orig	Wed Oct 30 14:31:40 2013
+++ numpy/distutils/command/build_src.py	Tue Nov  5 21:28:46 2013
@@ -381,6 +381,7 @@ class build_src(build_ext.build_ext):
             #    incl_dirs.append(self.build_src)
             build_dir = os.path.join(*([self.build_src]\
                                        +name.split('.')[:-1]))
+        build_dir = os.path.normpath(build_dir)
         self.mkpath(build_dir)
         for func in func_sources:
             source = func(extension, build_dir)
